package com.std;

import java.sql.Date;

public class UserMessage {
	private int		userMessageId;
	private String 	username;
	private String 	title;
	private String 	content;
	private Date   	submitTime;
	
	public UserMessage(int userMessageId,String username, String title, String content,
			Date submitTime) {
		super();
		this.userMessageId=userMessageId;
		this.username = username;
		this.title = title;
		this.content = content;
		this.submitTime = submitTime;
	}
	
	public int getUserMessageId() {
		return userMessageId;
	}

	public void setUserMessageId(int userMessageId) {
		this.userMessageId = userMessageId;
	}

	public UserMessage() {
		super();
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getSubmitTime() {
		return submitTime;
	}
	public void setSubmitTime(Date submitTime) {
		this.submitTime = submitTime;
	}
	
}
